﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DisplayBoardInfo.Network.Messages
{
    [Serializable]
    public class NetworkMessage
    {
        private NetworkMessageTypes type;

        public NetworkMessageTypes Type
        {
            get { return type; }
        }

        private object content;

        public object Content
        {
            get { return content; }
        }

        public NetworkMessage(NetworkMessageTypes type, object content)
        {
            this.type = type;
            this.content = content;
        }
    }
}
